@import url(reset.css); /* CSS PER IL RESET */

@import url(tables.css);

/* Modifiche Personali */

ol, ul { line-height: 1.8em; font-size: 13px; }
p, a, span { font-size: 13px; }
body { background-color: #fff; color: #000; font-size: 1em; font-family: verdana, arial, helvetica, sans-serif; }
p { line-height: 1.3em;}

a { color: #000; }
a:visited { color: #000; }
a:hover { text-decoration: none; }

b, label { font-weight: bold; }
h1 {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1.5em;
  color: black;
  margin-bottom: 7px;
}
h1 a {
  font-size: 18px;
}
h3 {
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1.4em;
}
select {
  margin: 3px 0;
}

#header {
  background-color: #fff;
  background: url(../images/header.jpg) top left no-repeat;
  height: 130px;
}
#riassunto {
  position: absolute;
  top: 30px;
  left: 560px;
  margin-top: 30px;
}
#contenitore {
  background: #ccc url(../images/sfondo.png) repeat-y;
  margin-bottom: 10px;
  overflow: auto; /* Fix for IE */
  width: 100%
}
#menu {
  height: 55px;
  padding: 0px;
  background: #333 url(../images/sfondo_menu.png) repeat-x;
}
#menu a {
  color: #fff;
}

.assistances {
margin-top: 0px;
float: left;
width: 65px;
height: 47px;
text-indent: -3000px;
display: block;
background: url(../images/Assistenze.png) no-repeat 0 0;
}
.assistances a {
width: 65px;
height: 47px;
display: block;
background: url(../images/Assistenze.png) no-repeat 0 -47px;
text-decoration: none;
}
.assistances a:hover {
background: none;
text-decoration: none;
}
.contracts {
margin-top: 0px;
float: left;
width: 65px;
height: 47px;
text-indent: -3000px;
display: block;
background: url(../images/Contratti.png) no-repeat 0 0;
}
.contracts a {
width: 65px;
height: 47px;
display: block;
background: url(../images/Contratti.png) no-repeat 0 -47px;
text-decoration: none;
}
.contracts a:hover {
background: none;
text-decoration: none;
}
.clients {
margin-top: 0px;
float: left;
width: 65px;
height: 47px;
text-indent: -3000px;
display: block;
background: url(../images/Clienti.png) no-repeat 0 0;
}
.clients a {
width: 65px;
height: 47px;
display: block;
background: url(../images/Clienti.png) no-repeat 0 -47px;
text-decoration: none;
}
.clients a:hover {
background: none;
text-decoration: none;
}

.topten {
margin-top: 0px;
float: left;
width: 65px;
height: 47px;
text-indent: -3000px;
display: block;
background: url(../images/Top10.png) no-repeat 0 0;
}
.topten a {
width: 65px;
height: 47px;
display: block;
background: url(../images/Top10.png) no-repeat 0 -47px;
text-decoration: none;
}
.topten a:hover {
background: none;
text-decoration: none;
}
.operators {
margin-top: 0px;
float: left;
width: 65px;
height: 47px;
text-indent: -3000px;
display: block;
background: url(../images/Operatori.png) no-repeat 0 0;
}
.operators a {
width: 65px;
height: 47px;
display: block;
background: url(../images/Operatori.png) no-repeat 0 -47px;
text-decoration: none;
}
.operators a:hover {
background: none;
text-decoration: none;
}
.operazioni {
margin: 5px 6px 0 0;
float: left;
display: block;
}
.servizi {
margin: 5px 6px 0 0;
float: left;
display: block;
}
.selected a { background: none }

#contenuto {
  display: inline;
  color: #111;
  margin: 10px 0;
  padding: 0 10px;
  width: 540px;
  float: left;
}
#in_scadenza { 
 float: left;
 color: #000;
 margin: 10px 0;
 padding: 0 10px;
 width: 330px;
 display: inline;
 position: relative;
}
#arretrate { 
 display: inline;
 position: relative;
 color: #000;
 margin: 10px 0;
 padding: 0 0 0 10px;
 width: 340px;
 float: left;
}
#pie_pagina {
  color: #fcfcfc;
  height: 30px;
  padding: 0 10px;
  padding-top: 5px;
  background: #333;
}
#pie_pagina a { color: #fcfcfc; }

#notice, #alert {
  background-color: #000;
  filter:alpha(opacity=80);
  -moz-opacity: 0.8;
  opacity: 0.8;
}
#notice { color: green; font-weight: normal; line-height: 2.0em;}
#alert { color: #f00; font-weight: normal; line-height: 2.0em;}

#contenuto h1, #in_scadenza h1, #arretrate h1 { background-color: #eee; margin-left: -10px; padding-left: 10px;}
#contenuto .red { background-color: red;}
#contenuto .orange { background-color: orange;}
#contenuto .green { background-color: green;}

#add_operation, #add_service {
  position: absolute;
  left: 250px;
  top: 400px;
  padding: 10px;
  border: 1px dotted black;
  background-color: yellow;
}

#notes {
  float: right;
  margin-right:5px;
}
#operations_list { 
  padding-left: 5px;
}
#operations_list li {
  margin-left: 15px;
  line-height: 16px;
  list-style: disc;
}

.clear { clear: both; background: none; }

.scaduta { color: #900;}

.center { text-align: center; }
.checkbox_list {clear: both}
.checkbox_list span {float: left; width: 200px}


.form_search {
  float: left;
  background: transparent url(../images/bg_search.gif) no-repeat scroll 0%;
  height: 25px;
  width: 194px;
  margin: 0;
  margin-left: 15px;
  margin-top: 10px;
}
.search {
  background: transparent none repeat scroll 0%;
  border: medium none;
  color: #0292D1;
  font-size: 13px;
  font-weight: bold;
  height: 22px;
  padding: 5px 0 0 8px;
  vertical-align: top;
  width: 152px;
}
.searchsubmit {
  background: transparent none repeat scroll 0%;
  border: medium none;
  cursor: pointer;
  height: 16px;
  width: 19px;
  padding: 5px 0px 0px;
}
#pie_pagina .form_search {
  margin-top: 0px;
}

/* Quick View */
.quick_view {
   z-index: 101;
   position: absolute;
   left: 550px;
   top: 315px;
   width: 250px;
   padding: 10px;
   border: 1px dotted black;
   background-color: yellow;
   filter:alpha(opacity=80);
   -moz-opacity: 0.8;
   opacity: 0.8;
   font-size: 12px;
   line-height: 16px;
}
.quick_view2 {
   z-index: 102;
   position: absolute;
   left: 340px;
   top: 120px;
   width: 250px;
   padding: 10px;
   border: 1px dotted black;
   background-color: yellow;
   filter:alpha(opacity=80);
   -moz-opacity: 0.8;
   opacity: 0.8;
   font-size: 12px;
   line-height: 16px;
}
.quick_view3 {
   z-index: 103;
   position: absolute;
   left: -272px;
   top: 120px;
   width: 250px;
   padding: 10px;
   border: 1px dotted black;
   background-color: yellow;
   filter:alpha(opacity=80);
   -moz-opacity: 0.8;
   opacity: 0.8;
   font-size: 12px;
   line-height: 16px;
}
.quick_view ul {
   list-style-type: circle;
   padding-left: 20px;
   line-height: 16px;
}

/* Modifiche Rails */

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  margin-left: 15px;
  list-style: square;
}

div.uploadStatus {
  margin: 5px;
}

div.progressBar {
  margin: 5px;
}

div.progressBar div.border {
  background-color: #fff;
  border: 1px solid gray;
  width: 100%;
}

div.progressBar div.background {
  background-color: #333;
  height: 18px;
  width: 0%;
}

